<?php
namespace Models;
use Models\Model\Userdetailes;
use Models\Model\UserdetailesTable;
use Models\Model\Winnerdetails;
use Models\Model\WinnerdetailsTable;
use Models\Model\AdminSettings;
use Models\Model\AdminSettingsTable;
use Zend\Db\ResultSet\ResultSet;
use Zend\Db\TableGateway\TableGateway;

class Module
{
    public function getAutoloaderConfig()
    {
        return array(
            'Zend\Loader\ClassMapAutoloader' => array(
                __DIR__ . '/autoload_classmap.php',
            ),
            'Zend\Loader\StandardAutoloader' => array(
                'namespaces' => array(
                    __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,
                ),
            ),
        );
    }

    public function getServiceConfig()
    {
        return array(
			'factories' => array(
				'Models\Model\UserdetailesFactory'	=> 'Models\Factory\Model\UserdetailesTableFactory',
				'Models\Model\WinnerdetailsFactory'	=> 'Models\Factory\Model\WinnerdetailsTableFactory',
				'Models\Model\AdminSettingsFactory'	=> 'Models\Factory\Model\AdminSettingsTableFactory',
			),
        );
    }

    public function getConfig()
    {
        return include __DIR__ . '/config/module.config.php';
    }
}